.tiers {
  composes: wide from global;
  display: flex;
  width: 100%;
  flex-direction: row;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.tierRow {
  justify-content: center;
  gap: 2rem;
  display: flex;
}

.tier {
  display: flex;
  flex-direction: column;
  flex: 0 0 30%;
  justify-content: flex-start;
  align-items: flex-start;
  font-weight: normal;
  font-size: 0.9rem;
  padding: 1rem;
  border: 2px solid var(--ifm-color-primary-dark);
  border-radius: 12px;
}

.tier:nth-child(2) {
  border: 3px solid var(--ifm-color-primary-light);
}

[data-theme="dark"] .tier {
  border: 3px solid var(--ifm-color-primary-light);
}

[data-theme="dark"] .tier:nth-child(2) {
  border: 3px solid var(--ifm-color-primary);
}

.banner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  > * {
    text-align: center;
  }
}

.title {
  font-size: 2rem;
  font-weight: bold;
}

.note {
  font-size: 0.9rem;
}

.title,
.note {
  color: var(--ifm-color-primary-darker);
}

[data-theme="dark"] .title,
[data-theme="dark"] .note {
  color: var(--ifm-color-primary-lighter);
}

.tagline {
  font-weight: var(--ifm-heading-font-weight);
}

.priceline {
  font-weight: var(--ifm-heading-font-weight);
  font-size: 2rem;
}

.price {
  font-weight: bold;
}

.note {
  font-size: 1rem;
  color: var(--ifm-color-primary-darker);
  .featured & {
    color: var(--ifm-color-primary);
  }
}

[data-theme="dark"] .note {
  color: var(--ifm-color-primary-lighter);
}

[data-theme="dark"] .featured .note {
  color: var(--ifm-color-primary);
}

.tier:nth-child(2) .title,
.tier:nth-child(2) .note {
  color: var(--ifm-color-primary);
}

[data-theme="dark"] .tier:nth-child(2) .title,
[data-theme="dark"] .tier:nth-child(2) .note {
  color: var(--ifm-color-primary);
}

.button {
  width: 100%;
  margin: 1rem 0 1rem 0;
  background-color: var(--ifm-color-primary-dark);
  border-color: var(--ifm-color-primary-dark);
  text-transform: uppercase;
}

.button:before {
  content: "Join on GitHub Sponsors";
}

.tier:nth-child(2) .button {
  background-color: var(--ifm-color-primary);
  border-color: var(--ifm-color-primary);
}

.tier .button:hover {
  background-color: var(--ifm-color-primary-darkest);
  border-color: var(--ifm-color-primary-darkest);
}

[data-theme="dark"] .button {
  background-color: var(--ifm-color-primary-light);
  border-color: var(--ifm-color-primary-light);
}

[data-theme="dark"] .tier:nth-child(2) .button {
  background-color: var(--ifm-color-primary);
  border-color: var(--ifm-color-primary);
}

[data-theme="dark"] .tier .button:hover {
  background-color: var(--ifm-color-primary-lightest);
  border-color: var(--ifm-color-primary-lightest);
}

@media screen and (max-width: 1200px) {
  .tierRow {
    flex-direction: column;
    gap: 0.5rem;
  }
  .tier {
    flex: 0 0 auto;
    font-size: 1rem;
    margin: 0;
  }
  .button:before {
    content: "GitHub Sponsors";
  }
}
